package com.hetao.xx.orm;


import com.hetao.xx.game.common.GoodEnum;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "goods")
public class GoodsVo {

    public GoodsVo() {
    }

    @DatabaseField(generatedId = true)//绑定字段
    public int id;
    @DatabaseField(columnName = "name", canBeNull=true, unique = true)
    public String name;
    @DatabaseField(columnName = "hp")
    public int hp;
    @DatabaseField(columnName = "mp")
    public int mp;
    @DatabaseField(columnName = "attack")
    public int attack;
    @DatabaseField(columnName = "defence")
    public int defence;
    @DatabaseField(columnName = "speed")
    public int speed;
    @DatabaseField(columnName = "wuxing")
    public int wuxing;
    @DatabaseField(columnName = "gengu")
    public int gengu;
    @DatabaseField(columnName = "fuyuan")
    public int fuyuan;
    @DatabaseField(columnName = "money")
    public int money;
    @DatabaseField(columnName = "type")
    public GoodEnum type;
    @DatabaseField(columnName = "up_id")
    public int upId;
    @DatabaseField(columnName = "up_jingyan")
    public int upJingyan;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getMp() {
        return mp;
    }

    public void setMp(int mp) {
        this.mp = mp;
    }

    public int getUpId() {
        return upId;
    }

    public void setUpId(int upId) {
        this.upId = upId;
    }

    public int getUpJingyan() {
        return upJingyan;
    }

    public void setUpJingyan(int upJingyan) {
        this.upJingyan = upJingyan;
    }

    public int getAttack() {
        return attack;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }

    public int getDefence() {
        return defence;
    }

    public void setDefence(int defence) {
        this.defence = defence;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getWuxing() {
        return wuxing;
    }

    public void setWuxing(int wuxing) {
        this.wuxing = wuxing;
    }

    public int getGengu() {
        return gengu;
    }

    public void setGengu(int gengu) {
        this.gengu = gengu;
    }

    public int getFuyuan() {
        return fuyuan;
    }

    public void setFuyuan(int fuyuan) {
        this.fuyuan = fuyuan;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public GoodEnum getType() {
        return type;
    }

    public void setType(GoodEnum type) {
        this.type = type;
    }
}
